﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace MachineVision.IDP.Migrations
{
    public partial class adduser : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "ApplicationUsers",
                keyColumn: "Id",
                keyValue: "16a6c312-0510-4f69-8212-fd0e06d5f934");

            migrationBuilder.UpdateData(
                table: "ApplicationUsers",
                keyColumn: "Id",
                keyValue: "f8df1775-e889-46f4-acdd-421ec8d9ba65",
                columns: new[] { "ConcurrencyStamp", "SecurityStamp" },
                values: new object[] { "f9093d70-de45-424b-813e-0ca7d8e40ac7", "2f923636-8f25-4530-9dcc-6b95979ba22f" });

            migrationBuilder.InsertData(
                table: "ApplicationUsers",
                columns: new[] { "Id", "AccessFailedCount", "Birthday", "ConcurrencyStamp", "CreateTime", "CreatorId", "Deleted", "DepartmentId", "Email", "EmailConfirmed", "LockoutEnabled", "LockoutEnd", "MySomething", "NormalizedEmail", "NormalizedUserName", "OtherData", "PasswordHash", "PhoneNumber", "PhoneNumberConfirmed", "RealName", "SecurityStamp", "Sex", "TwoFactorEnabled", "UserName" },
                values: new object[,]
                {
                    { "4e9ae737-0105-49b5-8a0f-08173b01d77b", 0, null, "d03e3a01-79c7-410c-8d1c-60a25850f2d4", new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "", false, "", "test@qq.com", true, false, null, "", "TEST@QQ.COM", "TEST", "", "E10ADC3949BA59ABBE56E057F20F883E", "123456789", false, "test", "b11a96a9-c6b2-4a57-a6cd-905cf577f2bd", 0, false, "test" },
                    { "b2507af2-fef8-402a-8d7b-a36afbf16b8d", 0, null, "bc2d022d-c6ef-41ce-b8c9-caa85393475e", new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "", false, "", null, false, false, null, "", null, null, "", "E10ADC3949BA59ABBE56E057F20F883E", null, false, "alice1", "39d5e3c1-06b3-4dbe-b28d-0700f9724afa", 0, false, "alice1" }
                });

            migrationBuilder.UpdateData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "f8df1775-e889-46f4-acdd-421ec8d9ba64",
                column: "ConcurrencyStamp",
                value: "a46619a6-953f-498d-9f8b-bb313a0407c7");

            migrationBuilder.InsertData(
                table: "AspNetRoles",
                columns: new[] { "Id", "ConcurrencyStamp", "Name", "NormalizedName" },
                values: new object[] { "4e9ae737-0105-49b5-8a0f-08173b01d77a", "9516763d-7cf8-4fe1-a603-1fefbfd87a2c", "Test", "TEST" });

            migrationBuilder.InsertData(
                table: "AspNetUserRoles",
                columns: new[] { "RoleId", "UserId" },
                values: new object[] { "4e9ae737-0105-49b5-8a0f-08173b01d77a", "4e9ae737-0105-49b5-8a0f-08173b01d77b" });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "ApplicationUsers",
                keyColumn: "Id",
                keyValue: "b2507af2-fef8-402a-8d7b-a36afbf16b8d");

            migrationBuilder.DeleteData(
                table: "AspNetUserRoles",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { "4e9ae737-0105-49b5-8a0f-08173b01d77a", "4e9ae737-0105-49b5-8a0f-08173b01d77b" });

            migrationBuilder.DeleteData(
                table: "ApplicationUsers",
                keyColumn: "Id",
                keyValue: "4e9ae737-0105-49b5-8a0f-08173b01d77b");

            migrationBuilder.DeleteData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "4e9ae737-0105-49b5-8a0f-08173b01d77a");

            migrationBuilder.UpdateData(
                table: "ApplicationUsers",
                keyColumn: "Id",
                keyValue: "f8df1775-e889-46f4-acdd-421ec8d9ba65",
                columns: new[] { "ConcurrencyStamp", "SecurityStamp" },
                values: new object[] { "55bff2f3-fc75-4a93-b5d1-9430dfe4b528", "598ac421-60db-4e2e-a049-abb0dafe4a9d" });

            migrationBuilder.InsertData(
                table: "ApplicationUsers",
                columns: new[] { "Id", "AccessFailedCount", "Birthday", "ConcurrencyStamp", "CreateTime", "CreatorId", "Deleted", "DepartmentId", "Email", "EmailConfirmed", "LockoutEnabled", "LockoutEnd", "MySomething", "NormalizedEmail", "NormalizedUserName", "OtherData", "PasswordHash", "PhoneNumber", "PhoneNumberConfirmed", "RealName", "SecurityStamp", "Sex", "TwoFactorEnabled", "UserName" },
                values: new object[] { "16a6c312-0510-4f69-8212-fd0e06d5f934", 0, null, "a75384a2-fdca-42e7-8ebf-c21fa14f8d7a", new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "", false, "", null, false, false, null, "", null, null, "", "E10ADC3949BA59ABBE56E057F20F883E", null, false, "alice1", "4081005e-96c9-434f-bf7a-0f7e08cf4589", 0, false, "alice1" });

            migrationBuilder.UpdateData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "f8df1775-e889-46f4-acdd-421ec8d9ba64",
                column: "ConcurrencyStamp",
                value: "a7fa7413-475f-44b8-9f20-7caade15e3c7");
        }
    }
}
